package tec.stan.ling.core.top.model;

/**
 * Node of TOPO structure distinguish link, and is tree structure.
 * 
 * @author Stan 张新潮
 * @since 2010-01-08
 */
public interface Node extends NE {

	/**
	 * Parent of the Node, parent must be a Subnet. When Node is root object,
	 * parent will be null.
	 * 
	 * @return
	 */
	Subnet getParent();

	void setParent(Subnet subnet);

	/**
	 * Coordinate of Node
	 * 
	 * @return
	 */
	int getX();

	void setX(int x);

	int getY();

	void setY(int y);

	static final String NODE_X = "Node:x";

	static final String NODE_Y = "Node:y";
}
